#include "hal_serial.h"

struct _hal_serial *usart = &g_hdl_usart_if;

int8_t hal_serial_init(void)
{
    return usart->serial_init(USART_CMD_MS);
}

int8_t hal_serial_deinit(void)
{
    usart->serial_deinit();
    return SUCCESS;
}

int hal_serial_str_cmp(char *str)
{
    return usart->serial_str_cmp(str);
}

uint8_t hal_serial_pasre_parm(char *buf, char **argv)
{
    return usart->serial_parse_parm(buf,argv);
}
